package banking8.domain;

/**
 * @author xbd
 * @create 2021-06-03 13:15
 */
public class OverdraftException extends Exception{
    static final long serialVersionUID = -33875169229948L;
    private double deficit;

    public double getDeficit() {
        return deficit;
    }

    public OverdraftException(String message, double deficit) {
        super(message);
        this.deficit = deficit;
    }
}
